package com.glsc.ngateway.common.base.domain.mysql.opmanage.report.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import javax.persistence.*;

@Data
@Entity
@Table(name = "t_gltb_fund_status")
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties({"hibernateLazyInitializer", "handler"})
@IdClass(GltbFundStatusId.class)
public class GltbFundStatus {
    @Id
    @Column(name="fc_date")
    @ExcelProperty("日期")
    private String date;

    @Id
    @Column(name="fc_fund_name")
    @ExcelProperty("基金名称")
    private String fundName;

    @Column(name="fc_total_assets")
    @ExcelProperty("总资产")
    private String totalAssets;

    @Column(name="fc_net_assets")
    @ExcelProperty("净资产")
    private String netAssets;

    @Column(name="fc_total_profit")
    @ExcelProperty("本年度利润总额")
    private String totalProfit;

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public void setFundName(String fundName) {
        this.fundName = fundName;
    }

    public String getFundName() {
        return fundName;
    }

    public String getTotalAssets() {
        return totalAssets;
    }

    public String getTotalProfit() {
        return totalProfit;
    }

    public String getNetAssets() {
        return netAssets;
    }

    public void setNetAssets(String netAssets) {
        this.netAssets = netAssets;
    }

    public void setTotalAssets(String totalAssets) {
        this.totalAssets = totalAssets;
    }

    public void setTotalProfit(String totalProfit) {
        this.totalProfit = totalProfit;
    }
}
